package org.example.jcclubsubjectapplicationcontroller.convet;

import org.example.jcclubsubjectapplicationcontroller.dto.SubjectCategoryDTO;
import org.example.jcclubsubjectdomain.basic.entity.SubjectCategoryBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
	SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);

	SubjectCategoryBo convertDTOToBO(SubjectCategoryDTO subjectCategoryTO);

	List<SubjectCategoryDTO> convertListBOToDTO(List<SubjectCategoryBo> subjectCategoryBOList);
}
